package com.sky.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * <p>
 *
 * </p>
 *
 * @author GHOSTER by RemSynch
 * @since 2024-10-24
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class WalletTransactionsVO implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "transaction_id", type = IdType.AUTO)
    private Long transactionId;

    private Long userId;

    private String userName;

    private String phone;

    private Long walletId;

    private BigDecimal balance;

    private BigDecimal amount;

    /**
     * 0后台 1下单 2撤单
     */
    private Integer transactionType;

    private String description;

    private LocalDateTime createdAt;


}
